<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <title>Avaliação</title>
    </h:head>
    <h:body>
        
        <p:panel header="Login" style="width: 650px; float:left">
			<h:form >
				<h:panelGrid columns="5" style="margin-top:20px;float:right;">
					<h:outputText style="color:#4f4f4f;" value="Usuário " />
					<p:inputText
						style="width: 170px; height:17px;color:#1E90FF;"
						id="username" value="#{usuarioMBean.usuario.login}" required="true"
						requiredMessage="Digite seu nome de usuário." />
					<h:outputText style="color:#4f4f4f;" value=" Senha " />
					<p:password
						style="width:170px; height:17px;color:#1E90FF;"
						id="password" value="#{usuarioMBean.usuario.password1}" required="true"
						requiredMessage="Digite sua senha." />
					<h:commandButton  value="Entrar"
						action="#{usuarioMBean.login()}" type="submit" />
				</h:panelGrid>

			</h:form>
		</p:panel>

    </h:body>
</html>
